new Vue({
      el: '#app',
      data(){
        return { 
					visible: false,
					projectCount:"",
					customerCount:"",
					contractCount:"",
					workOrderCount:"",
					newAddProCount:"",
					newAddCusCount:"",
					newAddConCount:"",
					newAddWorkCount:"",
				  tableData: []				
				}
      },
			created(){
				this.projectCountAjax();
			},
	methods:{
		 projectCountAjax:function(){
      var self = this;
      var xml = window.XMLHttpRequest? new XMLHttpRequest(): ActiveXObject("microsoft.XMLHttp");			
      xml.open("get", "http://www.oa.com/oa/test", true);			
      xml.send();
      xml.onreadystatechange = function() {
        if (xml.readyState == 4 && xml.status == 200) {
          var x = xml.responseText;
				self.tableData=JSON.parse(x);
				console.log(x)
        }
      };
    }
	},
	
})
